PeachPDF

PeachPDF.Network.RNetworkResponse

RNetworkResponse(Stream, Dictionary<string,string[]>) Constructor

The result of resolving a resource URI via GetResourceStream(RUri).

public RNetworkResponse(System.IO.Stream? ResourceStream, System.Collections.Generic.Dictionary<string,string[]>? ResponseHeaders);

Parameters

ResourceStream System.IO.Stream

The resource’s content stream, or null if the resource has no body.

ResponseHeaders System.Collections.Generic.Dictionary<System.String,System.String[]>

HTTP-style response headers for the resource, if any. For stylesheet resources, PeachPDF inspects this for a Content-Type header and only accepts the body as CSS when it is text/css.